/**
 * 区域管理
 * @author luguoxiang
 * @date 2023-03-27
 * 开源项目：https://gitee.com/lgx1992/lg-soar 求star！请给我star！请帮我点个star！
 */
import { createApi, request } from '@/soar';

export const basePath = '/general/region';
export const subject = '省市区';
const api = createApi(basePath, subject);

export default {
  ...api,
  tree() {
    return request.get(`${basePath}/tree`);
  },
};
